#include "EquipmentConditionStruct.h"

EquipmentConditionStruct::EquipmentConditionStruct()
{
    m_isSatisfy = false;
    m_zoneCode = 0;
    m_deviceTypeCode = 0;
    m_deviceCode = 0;
    m_functionCode = 0;
    m_functionValue = 0;
    m_address = 0;
    m_number = 0;
    m_conditionType = 0;
}
QString EquipmentConditionStruct::zoneName() const
{
    return m_zoneName;
}

void EquipmentConditionStruct::setZoneName(const QString &zoneName)
{
    m_zoneName = zoneName;
}
QString EquipmentConditionStruct::deviceName() const
{
    return m_deviceName;
}

void EquipmentConditionStruct::setDeviceName(const QString &deviceName)
{
    m_deviceName = deviceName;
}
QString EquipmentConditionStruct::functionName() const
{
    return m_functionName;
}

void EquipmentConditionStruct::setFunctionName(const QString &functionName)
{
    m_functionName = functionName;
}
QString EquipmentConditionStruct::valueName() const
{
    return m_valueName;
}

void EquipmentConditionStruct::setValueName(const QString &valueName)
{
    m_valueName = valueName;
}
quint16 EquipmentConditionStruct::zoneCode() const
{
    return m_zoneCode;
}

void EquipmentConditionStruct::setZoneCode(const quint16 &zoneCode)
{
    m_zoneCode = zoneCode;
}
quint16 EquipmentConditionStruct::deviceTypeCode() const
{
    return m_deviceTypeCode;
}

void EquipmentConditionStruct::setDeviceTypeCode(const quint16 &deviceTypeCode)
{
    m_deviceTypeCode = deviceTypeCode;
}
quint16 EquipmentConditionStruct::deviceCode() const
{
    return m_deviceCode;
}

void EquipmentConditionStruct::setDeviceCode(const quint16 &deviceCode)
{
    m_deviceCode = deviceCode;
}
quint16 EquipmentConditionStruct::functionCode() const
{
    return m_functionCode;
}

void EquipmentConditionStruct::setFunctionCode(const quint16 &functionCode)
{
    m_functionCode = functionCode;
}
quint16 EquipmentConditionStruct::functionValue() const
{
    return m_functionValue;
}

void EquipmentConditionStruct::setFunctionValue(const quint16 &functionValue)
{
    m_functionValue = functionValue;
}
quint16 EquipmentConditionStruct::address() const
{
    return m_address;
}

void EquipmentConditionStruct::setAddress(const quint16 &address)
{
    m_address = address;
}
quint16 EquipmentConditionStruct::number() const
{
    return m_number;
}

void EquipmentConditionStruct::setNumber(const quint16 &number)
{
    m_number = number;
}
quint8 EquipmentConditionStruct::conditionType() const
{
    return m_conditionType;
}

void EquipmentConditionStruct::setConditionType(const quint8 &conditionType)
{
    m_conditionType = conditionType;
}
bool EquipmentConditionStruct::isSatisfy() const
{
    return m_isSatisfy;
}

void EquipmentConditionStruct::setIsSatisfy(bool isSatisfy)
{
    m_isSatisfy = isSatisfy;
}














